home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / pd / netz / amislate / examplerexx / remotestringreq.rexx < prev    next >
OS/2 REXX Batch file  |  1995-08-05  |  446b  |  11 lines

  1. /* An ARexx script to demonstrate how to use RemoteStringRequest
  2.    to get a string of information from the remote user.  */
  3. parse arg CommandPort ActiveString
  4.  
  5. address (CommandPort)
  6. options results
  7.  
  8. RemoteStringRequest '"'||"Remote Rexx Request"||'"' '"'||"Blade Runner"||'"' '"'||"What is your favorite movie??"||'"' 
  9. WaitEvent MESSAGE stem answ.
  10. EasyRequest "Answer" '"'||"The Remote User's favorite movie is: "answ.message||'"' "Interesting"
  11.